li=sorted(input().split(","))
str = ""
for i in range(len(li)-1):
    str += li[i]
    str +=","
str += li[len(li)-1]
print(str)
